package com.weijin.service.impl;

import com.weijin.mapper.ExceptionRecordInfoMapper;
import com.weijin.model.entities.ExceptionRecordInfo;
import com.weijin.service.IExceptionRecordInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 异常打卡记录服务实现类
 *
 * @Author WeiJin
 * @Version 1.0
 * @Date 2025/3/28 16:18
 */
@Service
public class ExceptionRecordInfoServiceImpl implements IExceptionRecordInfoService {

    @Autowired
    private ExceptionRecordInfoMapper exceptionRecordInfoMapper;

    @Override
    public int saveExceptionRecord(ExceptionRecordInfo exceptionRecordInfo) {
        return exceptionRecordInfoMapper.insert(exceptionRecordInfo);
    }
}
